projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565d832
)
calendar: Don't request drag data on every motion event
author
Benjamin Otte
<otte@redhat.com>
Sun, 10 Dec 2017 19:18:08 +0000
(20:18 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 11 Dec 2017 00:02:31 +0000
(
01:02
+0100)
At least wait until we've received the previous one.
gtk/gtkcalendar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcalendar.c
b/gtk/gtkcalendar.c
index 172ed658014a18950a7abceca6539a6accce9111..f9b83ebbdb3d375188d9d1870aa18033f329be90 100644
(file)
--- a/
gtk/gtkcalendar.c
+++ b/
gtk/gtkcalendar.c
@@
-2945,7
+2945,7
@@
gtk_calendar_drag_motion (GtkWidget *widget,
target = gtk_drag_dest_find_target (widget, context, NULL);
if (target == NULL || gdk_drag_context_get_suggested_action (context) == 0)
gdk_drag_status (context, 0, time);
- else
+ else
if (get_status_pending (context) == 0)
{
set_status_pending (context, gdk_drag_context_get_suggested_action (context));
gtk_drag_get_data (widget, context, target, time);